package lhdx8;

public class NetTeacher extends Teacher {
    public NetTeacher(String name, int age, int teachingAge, String gender, String giveLession) {
        super(name, age, teachingAge, gender, giveLession);
    }
    public void print(){
        super.print();
        System.out.println(getGiveLession()+"老师用Visual studio上课!");
    }
}
